package org.shiwen.week3;

public class LoopWhile {
    public static void main(String[] args) {
        int i = 1000;
        while (i < 10) {
            System.out.println("i = " + i);
            i++;
        }
        System.out.println("循环结束");

        do{
            System.out.println(i);
            i++;
        }while(i<10);
    }
}
